//
//  NSDate+Additions.h
//  MyNotification
//
//  Created by zhyuan on 8/18/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSDate(Additions)

//GMT Zone
// convert string to date by given format
+ (NSDate *)dateFromStringByFormat:(NSString *)string format:(NSString *)format;
// covert date to string by given format
+ (NSString *)dateToStringByFormat:(NSDate *)date format:(NSString *)format;

//System Zone
+ (NSString *)dateToStringByFormatWithSystemZone:(NSDate *)date format:(NSString *)format;
@end
